<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
<head>
<title>IGNORED</title>
</head>
<body>
	<ui:composition>
		<h:form id="headerForm">
			<ui:include src="/components/public/user/toolBar.xhtml" />
			<p:growl id="growl" showDetail="true" life="5000" globalOnly="true" />
			<p:menubar style="float:left;height:25px">
				<p:menuitem value="#{msgs.home}" type="submit"
					action="/index.xhtml?faces-redirect=true" />
				<p:menuitem value="#{msgs.shopOnline}"
					action="/user/choosePickupDate.xhtml?faces-redirect=true" />
				<p:menuitem value="#{msgs.weeklySelection}" immediate="true"
					action="/public/weeklySelection.xhtml?faces-redirect=true" />
				<p:menuitem value="#{msgs.gallery}" type="submit" immediate="true"
					action="/public/gallery.xhtml?faces-redirect=true" />
				<p:menuitem value="#{msgs.catalogue}" immediate="true"
					action="/public/catalogue.xhtml?faces-redirect=true" />
				<p:menuitem value="#{msgs.faq}" type="submit" immediate="true"
					action="/public/faq.xhtml?faces-redirect=true" />
				<p:submenu label="#{msgs.aboutUs}">
					<ui:remove>
						<p:menuitem value="#{msgs.aboutFarmer}" type="submit"
							action="/public/aboutFarmer.xhtml?faces-redirect=true"
							style="color:blue;height:28px" />
					</ui:remove>
					<p:menuitem value="#{msgs.userGuide}" ajax="false"
						style="color:blue;height:28px">
						<p:fileDownload value="#{fileUploadDownloadController.userGuide}" />
					</p:menuitem>
					<p:menuitem value="#{msgs.whyUs}" type="submit"
						action="/public/reasons.xhtml?faces-redirect=true"
						style="color:blue;height:28px" />
					<p:menuitem value="#{msgs.contactUs}" type="submit"
						action="/public/contactUs.xhtml?faces-redirect=true"
						style="color:blue;height:28px" />
				</p:submenu>
			</p:menubar>

			<ui:remove>
				<p:toolbar style="height:30px">
					<p:toolbarGroup align="left"
						style="float:left;font-size:0.8em;font-weight:normal;font-family:cursive;">
						<p:commandButton value="#{msgs.home}" type="submit"
							action="/index.xhtml?faces-redirect=true"
							style="color:blue;height:28px" />
						<p:commandButton value="#{msgs.shopOnline}"
							action="/user/choosePickupDate.xhtml?faces-redirect=true"
							style="color:blue;height:28px" />
						<p:commandButton value="#{msgs.weeklySelection}" immediate="true"
							action="/public/weeklySelection.xhtml?faces-redirect=true"
							style="color:blue;height:28px" />
						<p:commandButton value="#{msgs.catalogue}" immediate="true"
							action="/public/catalogue.xhtml?faces-redirect=true"
							style="color:blue;height:28px" />
						<p:commandButton value="#{msgs.faq}" type="submit"
							immediate="true" action="/public/faq.xhtml?faces-redirect=true"
							style="color:blue;height:28px" />
						<p:commandButton value="#{msgs.whyUs}" type="submit"
							action="/public/reasons.xhtml?faces-redirect=true"
							style="color:blue;height:28px" />
					</p:toolbarGroup>

					<p:toolbarGroup align="right">
						<p:ajaxStatus>
							<f:facet name="start">
								<h:graphicImage library="images"
									name="icons/system/ajax_waiting.gif" />
							</f:facet>
							<f:facet name="complete">
								<h:outputText />
							</f:facet>
						</p:ajaxStatus>
					</p:toolbarGroup>
				</p:toolbar>
			</ui:remove>
		</h:form>


		<p:ajaxStatus onstart="statusDialog.show();"
			onsuccess="statusDialog.hide();" />
	</ui:composition>
</body>
</html>